<ul id="advert-list" class="list">
    {{ for(var i=0;i<it.sales.length;i++){
    }}
        <li>
            <a href="/garagesale_item/getItems/{{=it.sales[i].albumID}}">
            <img class="avatar" src='{{=it.sales[i].avatar}}' style="width:auto;height:35px;">
            <h3>{{=it.sales[i].albumTitle}}</h3>
            <span>by {{=it.sales[i].firstName}} {{=it.sales[i].lastName}}</span>
            <hr style="margin:10px 0 10px 0">
            <img src='{{=it.sales[i].images[0].itemImagePath}}' style="width:auto;height:200px;display:block;margin-left:auto;margin-right:auto;">
            </a>
        </li>
    {{}}}
</ul>